package com.onluy.frameworkcloud.base.entity;

import com.onluy.frameworkcloud.data.enums.OrderType;
import io.swagger.annotations.ApiModelProperty;

public class Entity {

    @ApiModelProperty(value="排序字段",notes="请填写实体属性字段名")
    private  String sort;

    @ApiModelProperty(value="排序方式",notes="只能用 desc 或 asc ")
    private OrderType order;


    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public OrderType getOrder() {
        return order;
    }

    public void setOrder(OrderType order) {
        this.order = order;
    }
}
